// 数组(不定长)
const array1: number[] = [1,2,3];
const array2: Array<number> = [1,2,3];

// 元组(定长)
const tuple1: [number, string] = [1, '2'];
const tuple2: [name: string, age: number, male?: boolean] = ['linbudu', 599, true];